using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Xml;

namespace sCicero
{
    public partial class HTML_output : Form
    {
        private sCicero.scicero m_osCicero;
        private xml m_oXmlCore = new xml();

        public HTML_output(ref sCicero.scicero osCicero)
        {
            InitializeComponent();
            m_osCicero = osCicero;
        }

        public Errorcode CreateDocument(System.Xml.XmlDocument oXMLdoc, System.Xml.Xsl.XslCompiledTransform oXslt)
        {
            webBrowser.DocumentText = m_oXmlCore.TransformXMLtoString(oXMLdoc, oXslt);
            return Errorcode.NOERROR;
        }

        private void HTML_output_Load(object sender, EventArgs e)
        {

        }

        private void webBrowser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {

        }
    }
}